import request from '@/utils/request'

export function page (data) {
  return request({
    url: '/mall4cloud_user/m/user/page',
    method: 'get',
    params: data
  })
}
export function sendMessage (data) {
  return request({
    url: '/mall4cloud_point/admin/message/add',
    method: 'post',
    data
  })
}
export function sendPoint (data) {
  return request({
    url: '/mall4cloud_point/admin/point/add',
    method: 'post',
    data
  })
}
export function listAll () {
  return request({
    url: '/mall4cloud_user/m/user/listAll',
    method: 'get'
  })
}
export function sendMessages (data) {
  return request({
    url: '/mall4cloud_point/admin/message/addMessages',
    method: 'post',
    data
  })
}
